<?php
    /**
     * Created by PhpStorm.
     * User: zgh
     * Date: 2021-08-02
     * Time: 15:23
     */

    namespace app\admin\validate;


    use think\Validate;

    class NewsValidate extends Validate
    {
        protected $rule = [
            'type|模块' => 'number',
            'title|资讯标题' => 'require',
            'publish_time|发布时间' => 'require|date',
        ];
    }